<!-- INCLUDE overall_header.html -->

<h2 class="solo">{L_EDIT_TITLE}</h2>

	<div class="panel bg2">
	
		<div class="inner"><span class="corners-top"><span></span></span>
			<a href ="{U_LINK_ALIGNMENT}">{L_ALIGNMENTS}</a>&nbsp;&nbsp;<a href ="{U_LINK_ARMOR_PROFICIENCIES}">{L_ARMOR_PROFICIENCIESS}</a>&nbsp;&nbsp;<a href ="{U_LINK_CLASS}">{L_CLASSES}</a>&nbsp;&nbsp;
			<a href ="{U_LINK_CLASS_LF}">{L_CLASS_LEVEL_FEATURES}</a>&nbsp;&nbsp;<a href ="{U_LINK_CLASS_SP}">{L_CLASS_SPECIALS}</a>&nbsp;&nbsp;<a href ="{U_LINK_DEITY}">{L_DEITIES}</a>&nbsp;&nbsp;<a href ="{U_LINK_GROUP}">{L_GROUPS}</a>&nbsp;&nbsp;
			<a href ="{U_LINK_FEAT}">{L_FEATS}</a>&nbsp;&nbsp;<a href ="{U_LINK_RACE}">{L_RACES}</a>&nbsp;&nbsp;<a href ="{U_LINK_SIZE}">{L_SIZES}</a>&nbsp;&nbsp;
			<a href ="{U_LINK_SKILL}">{L_SKILLS}</a>&nbsp;&nbsp;<a href ="{U_LINK_WEAPON_P}">{L_WEAPON_PROFICIENCIESS}</a>&nbsp;&nbsp;<a href ="{U_LINK_SPELL}">{L_SPELLS}</a>
		<span class="corners-bottom"><span></span></span></div>
	
	</div>
	
	<!-- IF S_MODE eq show -->
		<!-- IF S_INTYPE eq alignment -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_ALIGNMENT}</th>
					<th>{L_SHORT}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_alignment -->
				<tr>
					<td>{list_alignment.NAME}</td>
					<td>{list_alignment.SHORT}</td>
					<td style="width: 40%; height: 15px">{list_alignment.INFO}</td>
					<td style="width: 100px; height: 15px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_alignment.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_alignment.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_alignment -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq armor_proficiencies -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_ARMOR_PROFICIENCIESS}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_armor_proficiencies -->
				<tr>
					<td>{list_armor_proficiencies.NAME}</td>
					<td>{list_armor_proficiencies.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_armor_proficiencies.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_armor_proficiencies.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_armor_proficiencies -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq class_special -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_CLASS_SPECIALS}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_class_special -->
				<tr>
					<td>{list_class_special.NAME}</td>
					<td>{list_class_special.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_class_special.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_class_special.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_class_special -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq deity -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_DEITY}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_deity -->
				<tr>
					<td>{list_deity.NAME}</td>
					<td>{list_deity.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_deity.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_deity.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_deity -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq group -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_GROUP}</th>
					<th>{L_GROUP_MASTER}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_group -->
				<tr>
					<td>{list_group.NAME}</td>
					<td>{list_group.EXTRA}</td>
					<td>{list_group.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_group.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_group.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_group -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq feat -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_FEAT}</th>
					<th>{L_INFORMATION}</th>
					<th style="width: 100px">{L_SPECIAL_ONLY}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_feat -->
				<tr>
					<td>{list_feat.NAME}</td>
					<td>{list_feat.INFO}</td>
					<td style="width: 100px"><input type="checkbox"  name="{list_feat.NAME}" value="HTML" disabled
						<!-- IF list_feat.EXTRA -->
						checked="checked">
						<!-- ELSE -->
						>
						<!-- ENDIF -->
					</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_feat.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_feat.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_feat -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq race -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_RACE}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_race -->
				<tr>
					<td>{list_race.NAME}</td>
					<td>{list_race.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_race.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_race.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_race -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq size -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_SIZE}</th>
					<th>{L_SIZE_MOD}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_size -->
				<tr>
					<td>{list_size.NAME}</td>
					<td>{list_size.EXTRA}</td>
					<td>{list_size.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_size.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_size.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_size -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		<br><!-- IF S_INTYPE eq skill -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_SKILL}</th>
					<th>{L_ATTRIBUTE}</th>
					<th>{L_USE_UNTRAINED}</th>
					<th>{L_ARMOR_CHECK_PENALTY}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_skill -->
				<tr>
					<td>{list_skill.NAME}</td>
					<td style="width: 100px">{list_skill.ATTRIBUTE}</td>
					<td style="width: 200px"><input type="checkbox"  name="{list_skill.USE_UNTRAINED}" value="HTML" disabled
						<!-- IF list_skill.USE_UNTRAINED -->
						checked="checked"
						<!-- ENDIF -->
						>
					</td>
					<td style="width: 200px"><input type="checkbox"  name="{list_skill.ARMOR_CHECK_PENALTY}" value="HTML" disabled
						<!-- IF list_skill.ARMOR_CHECK_PENALTY -->
						checked="checked">
						<!-- ELSE -->
						>
						<!-- ENDIF -->
					</td>
					<td>{list_skill.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_skill.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_skill.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_skill -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq weapon_proficiencies -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_WEAPON_PROFICIENCIESS}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_weapon_proficiencies -->
				<tr>
					<td>{list_weapon_proficiencies.NAME}</td>
					<td>{list_weapon_proficiencies.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_weapon_proficiencies.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_weapon_proficiencies.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_weapon_proficiencies -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq spell -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_SPELLS}</th>
					<th>{L_LEVEL}</th>
					<th>{L_SCHOOL}</th>
					<th>{L_SAVING_THROW}</th>
					<th>{L_SPELL_RESISTANCE}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_spell -->
				<tr>
					<td>{list_spell.NAME}</td>
					<td>{list_spell.LEVEL}</td>
					<td>{list_spell.SCHOOL}</td>
					<td>{list_spell.SAVING_THROW}</td>
					<td>{list_spell.SPELL_RESISTANCE}</td>
					<td>{list_spell.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_spell.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_spell.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>				</tr>
				<!-- END list_spell -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq classe -->
		<div>
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_CLASS}</th>
					<th>{L_HIT_DICE}</th>
					<th>{L_CAST_ATTRIBUTE}</th>
					<th>{L_ALIGNMENTS}</th>
					<th>{L_SKILLS}</th>
					<th>{L_ARMOR_PROFICIENCIESS}</th>
					<th>{L_WEAPON_PROFICIENCIESS}</th>
					<th>{L_INFORMATION}</th>
					<th></th>
				</tr>
				<!-- BEGIN list_classes -->
				<tr>
					<td>{list_classes.NAME}</td>
					<td>{list_classes.HIT_DICE}</td>
					<td>{list_classes.CAST_ATTRIBUTE_NAME}</td>
					<td>{list_classes.ALIGNMENTS}</td>
					<td>{list_classes.SKILLS}</td>
					<td>{list_classes.ARMOR_P_NAME}</td>
					<td>{list_classes.WEAPON_P_NAME}</td>
					<td>{list_classes.INFO}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_classes.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_classes.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_classes -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq clf -->
		<div>
			<!-- IF S_CLASS_ID eq 0 -->
			<dl>
				<form action="" name="choose_class">
				<dt>
					<label for="name">{L_CLASSES}:</label>
				</dt>
				<dd>
					<select name="select_class" id="select_class" size="1" onchange="window.location.href = document.location.href + '\&class_id=' + this.form.select_class.value">
					<option value="0">-</option>
					<!-- BEGIN list_clf -->
						<!-- IF list_clf.LEVEL eq 1 --><option value="{list_clf.CLASS_ID}" >{list_clf.NAME}</option><!-- ENDIF -->>
					<!-- END list_clf -->
					</select>
				</dd>
				</form>
			</dl>
			<!-- ENDIF -->
			
			<table class="table1" cellspacing="1">
				<tr>
					<th>{L_CLASS}</th>
					<th>{L_LEVEL}</th>
					<th>{L_BASE_ATTACK_BONUS} 1</th>
					<th>{L_BASE_ATTACK_BONUS} 2</th>
					<th>{L_BASE_ATTACK_BONUS} 3</th>
					<th>{L_BASE_SAVE_FORT}</th>
					<th>{L_BASE_SAVE_REF}</th>
					<th>{L_BASE_SAVE_WILL}</th>
					<th>{L_SPECIAL} 1</th>
					<th>{L_SPECIAL} 2</th>
					<th>{L_SPECIAL} 3</th>
					<th>{L_SPECIAL} 4</th>
					<th>{L_SPELLS_PER_DAY_LVL} 0</th>
					<th>{L_SPELLS_PER_DAY_LVL} 1</th>
					<th>{L_SPELLS_PER_DAY_LVL} 2</th>
					<th>{L_SPELLS_PER_DAY_LVL} 3</th>
					<th>{L_SPELLS_PER_DAY_LVL} 4</th>
					<th>{L_SPELLS_PER_DAY_LVL} 5</th>
					<th>{L_SPELLS_PER_DAY_LVL} 6</th>
					<th>{L_SPELLS_PER_DAY_LVL} 7</th>
					<th>{L_SPELLS_PER_DAY_LVL} 8</th>
					<th>{L_SPELLS_PER_DAY_LVL} 9</th>
					<th></th>
				</tr>
				<!-- BEGIN list_clf -->
				<tr>
					<td><a href="{list_clf.U_CLASS_LINK}">{list_clf.NAME}</a></td>
					<td>{list_clf.LEVEL}</td>
					<td>{list_clf.BASE_ATTACK_BONUS_1}</td>
					<td>{list_clf.BASE_ATTACK_BONUS_2}</td>
					<td>{list_clf.BASE_ATTACK_BONUS_3}</td>
					<td>{list_clf.BASE_SAVE_FORT}</td>
					<td>{list_clf.BASE_SAVE_REF}</td>
					<td>{list_clf.BASE_SAVE_WILL}</td>
					<td>{list_clf.SPECIAL_1}</td>
					<td>{list_clf.SPECIAL_2}</td>
					<td>{list_clf.SPECIAL_3}</td>
					<td>{list_clf.SPECIAL_4}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_0}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_1}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_2}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_3}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_4}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_5}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_6}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_7}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_8}</td>
					<td>{list_clf.SPELLS_PER_DAY_LVL_9}</td>
					<td style="width: 100px">
						<ul class="profile-icons">
							<li class="edit-icon">
								<a href="{list_clf.U_EDIT}" title="Eintrag ändern">
									<span>Eintrag ändern</span>
								</a>
							</li>
							<li class="delete-icon">
								<a href="{list_clf.U_DELETE}" title="Eintrag löschen">
									<span>Eintrag löschen</span>
								</a>
							</li>
						</ul>
					</td>
				</tr>
				<!-- END list_clf -->
			</table>
			<br />
			<form id="insert_new" method="post" action="{U_LINK_NEW}">
				<div style="text-align: right"><input type="submit" name="submit" value="{L_INSERT_NEW}" class="button1" /></div>
			</form>
		</div>
		<!-- ENDIF -->
		
	<!-- ENDIF -->
	
	<!-- IF S_MODE eq edit || S_MODE eq insert -->
	<form id="editform" method="post" action="{S_POST_ACTION}">
	<div class="panel bg2">
		<!-- IF S_INTYPE eq alignment -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_ALIGNMENT}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_ALIGNMENT}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_ALIGNMENT}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="short">{L_SHORT}:</label></dt>
				<dd><input type="text" class="inputbox" name="in_extra" id="in_extra" size="3" title="{L_SHORT}"
				<!-- IF S_MODE eq edit -->
					value="{A_SHORT}"
				<!-- ENDIF -->
				 /></dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq armor_proficiencies -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_ARMOR_PROFICIENCIEST}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_ARMOR_PROFICIENCIEST}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_ARMOR_PROFICIENCIEST}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq class_special -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_CLASS_SPECIAL}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_CLASS_SPECIAL}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_CLASS_SPECIAL}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq deity -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_DEITY}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_DEITY}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_DEITY}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq group -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_GROUP}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_GROUP}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_GROUP}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_GROUP_MASTER}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_extra" id="in_extra" size="40" title="{L_GROUP_MASTER}" 
				<!-- IF S_MODE eq edit -->
					value="{A_EXTRA}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq feat -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_FEAT}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_FEAT}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_FEAT}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			<dl>
				<dt>
					<label for="name">{L_SPCIAL_ONLY}:</label>
				</dt>
				<td>
				<dd><input type="checkbox" name="in_extra" id="in_extra" value="1" 
				<!-- IF S_MODE eq edit && A_EXTRA -->
					checked="checked"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq race -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_RACE}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_RACE}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_RACE}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq size -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_SIZE}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_SIZE}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_SIZE}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_SIZE_MOD}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_extra" id="in_extra" size="4" title="{L_SIZE_MOD}" 
				<!-- IF S_MODE eq edit -->
					value="{A_EXTRA}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq weapon_proficiencies -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_WEAPON_PROFICIENCIESS}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_WEAPON_PROFICIENCIESS}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_name" id="in_name" size="40" title="{L_WEAPON_PROFICIENCIESS}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_info" id="in_info" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq spell -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_SPELL}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_SPELL}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[name]" id="in_spell[name]" size="40" title="{L_SPELL}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_SCHOOL}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[school]" id="in_spell[school]" size="40" title="{L_SCHOOL}" 
				<!-- IF S_MODE eq edit -->
					value="{A_SCHOOL}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_LEVEL}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[level]" id="in_spell[level]" size="40" title="{L_LEVEL}" 
				<!-- IF S_MODE eq edit -->
					value="{A_LEVEL}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_COMPONENTS}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[components]" id="in_spell[components]" size="40" title="{L_COMPONENTS}" 
				<!-- IF S_MODE eq edit -->
					value="{A_COMPONENTS}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_CASTING_TIME}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[casting_time]" id="in_spell[casting_time]" size="40" title="{L_CASTING_TIME}" 
				<!-- IF S_MODE eq edit -->
					value="{A_CASTING_TIME}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_RANGE}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[range]" id="in_spell[range]" size="40" title="{L_RANGE}" 
				<!-- IF S_MODE eq edit -->
					value="{A_RANGE}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_EFFECT}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[effect]" id="in_spell[effect]" size="40" title="{L_EFFECT}" 
				<!-- IF S_MODE eq edit -->
					value="{A_EFFECT}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_DURATION}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[duration]" id="in_spell[duration]" size="40" title="{L_DURATION}" 
				<!-- IF S_MODE eq edit -->
					value="{A_DURATION}"
				<!-- ENDIF -->
					/>
				</dd>
				<dt>
					<label for="name">{L_SAVING_THROW}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[saving_throw]" id="in_spell[saving_throw]" size="40" title="{L_SAVING_THROW}" 
				<!-- IF S_MODE eq edit -->
					value="{A_SAVING_THROW}"
				<!-- ENDIF -->
					/>
				</dd>
					<dt>
					<label for="name">{L_SPELL_RESISTANCE}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_spell[spell_resistance]" id="in_spell[spell_resistance]" size="40" title="{L_SPELL_RESISTANCE}" 
				<!-- IF S_MODE eq edit -->
					value="{A_SPELL_RESISTANCE}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_spell[info]" id="in_spell[info]" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
						
		<!-- IF S_INTYPE eq skill -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_SKILL}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_SKILL}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_skill[name]" id="in_skill[name]" size="40" title="{L_SPELL}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_ATTRIBUTE}:</label>
				</dt>
				<dd><select name="in_skill[attribute_id]" id="in_skill[attribute_id]" title="{L_ATTRIBUTE}" size="1">
						<!-- BEGIN list_skill_attributes -->
						<option value="{list_skill_attributes.A_ATTRIBUTE_ID}" <!-- IF list_skill_attributes.A_ATTRIBUTE_ID eq A_ATTRIBUTE -->selected="selected"<!-- ENDIF -->>{list_skill_attributes.A_ATTRIBUTE_NAME}</option>
						<!-- END list_skill_attributes -->
					</select> 
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_USE_UNTRAINED}:</label>
				</dt>
				<dd><input type="checkbox" name="in_skill[use_untrained]" id="in_skill[use_untrained]" value="1" 
				<!-- IF S_MODE eq edit && A_USE_UNTRAINED -->
					checked="checked"
				<!-- ENDIF -->
					/>	
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_ARMOR_CHECK_PENALTY}:</label>
				</dt>
				<dd><input type="checkbox" name="in_skill[armor_check_penalty]" id="in_skill[armor_check_penalty]" value="1" 
				<!-- IF S_MODE eq edit && A_ARMOR_CHECK_PENALTY -->
					checked="checked"
				<!-- ENDIF -->
					/>	
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_skill[info]" id="in_skill[info]" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
		
		<!-- IF S_INTYPE eq classe -->
			<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF A_NAME != '' -->
				<h3>{L_CLASS}: {A_NAME}</h3>
			<!-- ELSE -->
				<h3>{L_INSERT_NEW}</h3>
			<!-- ENDIF -->
			<fieldset>
			<dl>
				<dt>
					<label for="name">{L_CLASS}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_class[name]" id="in_class[name]" size="40" title="{L_CLASS}" 
				<!-- IF S_MODE eq edit -->
					value="{A_NAME}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_HIT_DICE}:</label>
				</dt>
				<dd><input type="text" class="inputbox" name="in_class[hit_dice]" id="in_class[hit_dice]" size="40" title="{L_HIT_DICE}" 
				<!-- IF S_MODE eq edit -->
					value="{A_HIT_DICE}"
				<!-- ENDIF -->
					/>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_CAST_ATTRIBUTE}:</label>
				</dt>
				<dd><select name="in_class[cast_attribute_id]" id="in_class[cast_attribute_id]" title="{L_CAST_ATTRIBUTE}" size="1">
						<option value="0">-</option>
						<!-- BEGIN list_skill_attributes -->
						<option value="{list_skill_attributes.A_ATTRIBUTE_ID}" <!-- IF list_skill_attributes.A_ATTRIBUTE_NAME eq A_CAST_ATTRIBUTE_NAME -->selected="selected"<!-- ENDIF -->>{list_skill_attributes.A_ATTRIBUTE_NAME}</option>
						<!-- END list_skill_attributes -->
					</select> 
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_ALIGNMENTS}:</label>
				</dt>
				<dd>
					<select name="in_class[list_alignments][]" id="in_class[list_alignments][]" size="{A_SIZE_AL}" multiple="multiple">
						<option value="0">-</option>
					<!-- BEGIN list_alignments -->
						<option value="{list_alignments.ID}" <!-- IF S_MODE eq edit && list_alignments.IS_SET -->selected="selected"<!-- ENDIF -->>{list_alignments.NAME}</option>
					<!-- END list_alignments -->
					</select>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_SKILLS}:</label>
				</dt>
				<dd>
					<select name="in_class[list_skills][]" id="in_class[list_skills][]" size="{A_SIZE_SK}" multiple="multiple">
						<option value="0">-</option>
					<!-- BEGIN list_skills -->
						<option value="{list_skills.ID}" <!-- IF S_MODE eq edit && list_skills.IS_SET -->selected="selected"<!-- ENDIF -->>{list_skills.NAME}</option>
					<!-- END list_skills -->
					</select>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_ARMOR_PROFICIENCIES}:</label>
				</dt>
				<dd>
					<select name="in_class[list_armor_p][]" id="in_class[list_armor_p][]" size="{A_SIZE_AP}" multiple="multiple">
						<option value="0">-</option>
					<!-- BEGIN list_armor_p -->
						<option value="{list_armor_p.ID}" <!-- IF S_MODE eq edit && list_armor_p.IS_SET -->selected="selected"<!-- ENDIF -->>{list_armor_p.NAME}</option>
					<!-- END list_armor_p -->
					</select>
				</dd>
			</dl>
			<dl>
				<dt>
					<label for="name">{L_WEAPON_PROFICIENCIES}:</label>
				</dt>
				<dd>
					<select name="in_class[list_weapon_p][]" id="in_class[list_weapon_p][]" size="{A_SIZE_WP}" multiple="multiple">
						<option value="0">-</option>
					<!-- BEGIN list_weapon_p -->
						<option value="{list_weapon_p.ID}" <!-- IF S_MODE eq edit && list_weapon_p.IS_SET -->selected="selected"<!-- ENDIF -->>{list_weapon_p.NAME}</option>
					<!-- END list_weapon_p -->
					</select>
					
				</dd>
			</dl>
			<dl>
				<dt><label for="info">{L_INFORMATION}:</label></dt>
				<dd><textarea class="inputbox" name="in_class[info]" id="in_class[info]" title="{L_INFORMATION}" /><!-- IF S_MODE eq edit -->{A_INFO}<!-- ENDIF --></textarea></dd>	
			</dl>
			</fieldset>
			
			
			<span class="corners-bottom"><span></span></span>
			</div>
		<!-- ENDIF -->
	</div>
	
	<div class="panel bg3">
		<div class="inner"><span class="corners-top"><span></span></span>
	
		<fieldset class="submit-buttons">
			{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
			<input type="submit" name="submit" value="{L_SAVE}" class="button1" />
		</fieldset>
	
		<span class="corners-bottom"><span></span></span></div>
	</div>
	
	</form>
	<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->